package com.vibration.baseinfo.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.vibration.common.annotation.Excel;
import com.vibration.common.core.domain.BaseEntity;

/**
 * Tx计算记录对象 cz_calculate_tx
 * 
 * @author Mr_Wu
 * @date 2023-03-07
 */
public class CzCalculateTx extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String equipmentCode;

    private String equipmentName;

    /** 计算标题 */
    @Excel(name = "计算标题")
    private String calculateTitle;

    /** 深度 */
    @Excel(name = "深度")
    private String degreeDepth;

    /** 数据开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "数据开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 数据结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "数据结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 导热系数 */
    @Excel(name = "导热系数")
    private Double k;

    /** 地层导热系数 */
    @Excel(name = "地层导热系数")
    private Double lm;

    /** 计算点距离 */
    @Excel(name = "计算点距离")
    private Double h;
    private Integer calcType;

    /**
     * 输入的两个深度
     */
    private Double deepOne;
    private Double deepTwo;

    public Double getDeepOne() {
        return deepOne;
    }

    public void setDeepOne(Double deepOne) {
        this.deepOne = deepOne;
    }

    public Double getDeepTwo() {
        return deepTwo;
    }

    public void setDeepTwo(Double deepTwo) {
        this.deepTwo = deepTwo;
    }

    //选中的深度
    private List<String> checkList;

    private List<CzCalculateTxValue> txValueList;

    private Object tempDataList;

    public Object getTempDataList() {
        return tempDataList;
    }

    public void setTempDataList(Object tempDataList) {
        this.tempDataList = tempDataList;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEquipmentCode(String equipmentCode) 
    {
        this.equipmentCode = equipmentCode;
    }

    public String getEquipmentCode() 
    {
        return equipmentCode;
    }

    public String getEquipmentName() {
        return equipmentName;
    }

    public void setEquipmentName(String equipmentName) {
        this.equipmentName = equipmentName;
    }

    public void setCalculateTitle(String calculateTitle)
    {
        this.calculateTitle = calculateTitle;
    }

    public String getCalculateTitle() 
    {
        return calculateTitle;
    }
    public void setDegreeDepth(String degreeDepth) 
    {
        this.degreeDepth = degreeDepth;
    }

    public String getDegreeDepth() 
    {
        return degreeDepth;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setK(Double k)
    {
        this.k = k;
    }

    public Double getK()
    {
        return k;
    }
    public void setLm(Double lm)
    {
        this.lm = lm;
    }

    public Double getLm()
    {
        return lm;
    }
    public void setH(Double h)
    {
        this.h = h;
    }

    public Double getH()
    {
        return h;
    }

    public List<String> getCheckList() {
        return checkList;
    }

    public void setCheckList(List<String> checkList) {
        this.checkList = checkList;
    }

    public List<CzCalculateTxValue> getTxValueList() {
        return txValueList;
    }

    public void setTxValueList(List<CzCalculateTxValue> txValueList) {
        this.txValueList = txValueList;
    }

    public Integer getCalcType() {
        return calcType;
    }

    public void setCalcType(Integer calcType) {
        this.calcType = calcType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equipmentCode", getEquipmentCode())
            .append("calculateTitle", getCalculateTitle())
            .append("degreeDepth", getDegreeDepth())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("k", getK())
            .append("lm", getLm())
            .append("h", getH())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
